package com.lelouch.bestpractice.mongorepository.service;


import com.lelouch.bestpractice.mongorepository.domain.UserEntity;

import java.util.List;

public interface UserEntityService {

    UserEntity add(UserEntity userEntity);

    boolean delete(String id);

    UserEntity update(UserEntity userEntity);

    UserEntity findById(String id);

    UserEntity findByUsername(String username);

}
